package com.longcai.controller.clyjuser;


import com.longcai.bean.ApiResult;
import com.longcai.bean.PageHelper;
import com.longcai.entity.customer.ClyjUser;
import com.longcai.entity.customer.ClyjUserTouch;
import com.longcai.entity.customer.customerVo.ClyjUserTouchVo;
import com.longcai.page.table.PageTableResponse;
import com.longcai.service.clyjuser.ClyjUserTouchService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 邀请关系表 前端控制器
 * </p>
 *
 * @author M
 * @since 2019-04-23
 */
@RestController
@RequestMapping("/clyjUserTouch")
public class ClyjUserTouchController {

    @Autowired
    private ClyjUserTouchService clyjUserTouchService;

    /**
     * 获取授权导购列表
     *
     * @param clyjUserTouchVo
     * @return
     */
    @ApiOperation(value = "获取授权导购列表")
    @GetMapping(value = "/getTouch")
    public ApiResult getTouch(ClyjUserTouchVo clyjUserTouchVo) {

        return this.clyjUserTouchService.getTouch(clyjUserTouchVo);
    }
}

